package com.base.logistics.sf.bean.print;


import com.base.logistics.sf.bean.Result;
import com.base.logistics.utils.SfGsonBuilder;

import java.io.Serializable;


/**
 * <pre>
 * 面单打印响应对象
 * </pre>
 * @since 2021-02-17
 */
public class PrintRespResponse implements Serializable {

    /**
     * 请求id
     */
    private String requestId;


    private boolean success;


    public PrintRespResponse() {
    }


    public static PrintRespResponse fromJson(String json) {
        return SfGsonBuilder.create().fromJson(json, PrintRespResponse.class);
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
